STEP 2: Whoa! That UFO looks too big! Let's make it a little smaller so we can fly it around the stage.

  • Click on and drag Set Size to the bottom of your program.
  • Change the number in the .set_size(0.5) command from 0.5 to 0.4.

In .set_size(), numbers greater than 1 make the sprite larger, numbers less than 1 make the sprite smaller.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("space") sprite = codesters.Sprite("ufo")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)